<template>
	<view class="lines-mini">
		<view class="lines-mini_item" v-for="index in 5" :key="index" @click="$rui.route('/pages/trip/detail/detail')">
			<view class="lines-mini_item_head">
				<image class="lines-mini_item_head_img" src="../../static/images/lines.jpg" mode=""></image>
				<view class="lines-mini_item_head_mdd">乌鲁木齐出发</view>
				<view class="lines-mini_item_head_tag">爆品</view>
			</view>
			<view class="lines-mini_item_info">
				<view class="lines-mini_item_info_title">
					北疆纯玩10日游（2+1头等舱大巴 6大5A景区）穿越独库 天山天池 喀纳斯 禾木 魔鬼城 赛里木湖 那拉提 巴音布鲁克
				</view>
				<view class="lines-mini_item_info_detail">
					纯玩游·小众风光·10日游
				</view>
				<view class="lines-mini_item_info_tag">
					<view class="lines-mini_item_info_tag_item">早鸟特惠</view>
					<view class="lines-mini_item_info_tag_item">满6人减300</view>
				</view>
				<view class="lines-mini_item_info_bottom">
					<view class="price">6880</view>
					<view class="lines-mini_item_info_bottom_enroll">891人报名</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script setup>

</script>

<style lang="scss" scoped>
	.lines-mini {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		margin: 20rpx;

		&_item {
			width: calc(50% - 10rpx);
			background: #fff;
			border-radius: 20rpx;
			overflow: hidden;
			margin-bottom: 20rpx;

			&_info {
				padding: 20rpx;

				&_title {
					font-weight: bold;
					overflow: hidden;
					text-overflow: ellipsis;
					display: -webkit-box;
					-webkit-line-clamp: 2;
					-webkit-box-orient: vertical;
					margin-top: 10rpx;
					color: #333;
				}

				&_detail {
					font-size: 24rpx;
					color: #999;
					margin: 10rpx 0;
				}

				&_tag {
					display: flex;

					&_item {
						font-size: 20rpx;
						color: #ff5d35;
						padding: 0 8rpx;
						margin-right: 10rpx;
						border-radius: 6rpx;
						background: #ffe4e4;
					}
				}

				&_bottom {
					display: flex;
					justify-content: space-between;
					align-items: center;
					margin-top: 20rpx;

			

					&_enroll {
						font-size: 24rpx;
						color: #999;
					}
				}
			}

			&_head {
				position: relative;
				height: 250rpx;

				&_img {
					height: inherit;
				}

				&_mdd {
					background: rgba(0, 0, 0, .5);
					position: absolute;
					top: 0;
					left: 0;
					color: #fff;
					border-top-left-radius: 20rpx;
					border-bottom-right-radius: 20rpx;
					padding: 6rpx 15rpx;
					font-size: 20rpx;
				}

				&_tag {
					position: absolute;
					bottom: -18rpx;
					left: 20rpx;
					background: linear-gradient(to left, #fff500, #ffc800);
					font-size: 24rpx;
					width: 60rpx;
					height: 36rpx;
					line-height: 36rpx;
					text-align: center;
					border-radius: 5rpx;
				}
			}
		}
	}
</style>